package com.bridgeintelligent.tag.webserver.indexquery.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author JackCheung
 * @date 2020/7/2 3:55 PM.
 * description:
 */
@FeignClient(name = "tag-engine")
public interface IndexQueryFeignClient {


    @PostMapping("/api/engine/test")
    String index(@RequestParam(value = "name") String name);

}
